Skip to content

Update http_foundation.rst to replace withExpiresTime #13743

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 3, 2020
Merged

Update http_foundation.rst to replace withExpiresTime #13743

merged 1 commit into from
Jun 3, 2020

Conversation

thislg
Copy link
Contributor

@thislg thislg commented Jun 2, 2020

The method withExpiresTime does not exist in class https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/Cookie.php#L146.
I think it should be withExpires instead.

@javiereguiluz
Copy link
Member

Good catch! Thanks @Arioch171 and congrats on your first Symfony Docs contribution!

@javiereguiluz javiereguiluz merged commit 2a62571 into symfony:5.1 Jun 3, 2020
@thislg thislg deleted the fix-cookie-with-expires branch June 4, 2020 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants